<template>
<view class="mysearch">
    <view class="box">
      <uni-icons type="search" size="20"></uni-icons>
      搜索
    </view>
  </view>
</template>

<script>
  export default {
    name:"my-search",
    data() {
      return {
        
      };
    }
  }
</script>

<style lang="scss">
  .mysearch {
    height: 40px;
    background-color: #c00000;
    padding: 8px 10px;

    .box {
      height: 40px;
      background-color: #fff;
      border-radius: 20px;
      line-height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
</style>